
<%@ page import="ar.org.sstuyv.Censo" %>
<!DOCTYPE html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'censo.label', default: 'Censo')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#show-censo" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="nav" role="navigation">
			<ul>
				<li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
				<li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>
		<div id="show-censo" class="content scaffold-show" role="main">
			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list censo">
			
				<g:if test="${censoInstance?.barrio}">
				<li class="fieldcontain">
					<span id="barrio-label" class="property-label"><g:message code="censo.barrio.label" default="Barrio" /></span>
					
						<span class="property-value" aria-labelledby="barrio-label"><g:link controller="barrio" action="show" id="${censoInstance?.barrio?.id}">${censoInstance?.barrio?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
<%--				<g:if test="${censoInstance?.direccion}">--%>
<%--				<li class="fieldcontain">--%>
<%--					<span id="direccion-label" class="property-label"><g:message code="censo.direccion.label" default="Direccion" /></span>--%>
<%--					--%>
<%--						<span class="property-value" aria-labelledby="direccion-label"><g:fieldValue bean="${censoInstance}" field="direccion"/></span>--%>
<%--					--%>
<%--				</li>--%>
<%--				</g:if>--%>
			
				<g:if test="${censoInstance?.facha}">
				<li class="fieldcontain">
					<span id="facha-label" class="property-label"><g:message code="censo.facha.label" default="Facha" /></span>
					
						<span class="property-value" aria-labelledby="facha-label"><g:formatDate date="${censoInstance?.facha}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${censoInstance?.nomenclaturaCatastral}">
				<li class="fieldcontain">
					<span id="nomenclaturaCatastral-label" class="property-label"><g:message code="censo.nomenclaturaCatastral.label" default="Nomenclatura Catastral" /></span>
					
						<span class="property-value" aria-labelledby="nomenclaturaCatastral-label"><g:link controller="nomenclaturaCatastral" action="show" id="${censoInstance?.nomenclaturaCatastral?.id}">${censoInstance?.nomenclaturaCatastral?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${censoInstance?.partido}">
				<li class="fieldcontain">
					<span id="partido-label" class="property-label"><g:message code="censo.partido.label" default="Partido" /></span>
					
						<span class="property-value" aria-labelledby="partido-label"><g:link controller="partido" action="show" id="${censoInstance?.partido?.id}">${censoInstance?.partido?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
<%--				<g:if test="${censoInstance?.telefono}">--%>
<%--				<li class="fieldcontain">--%>
<%--					<span id="telefono-label" class="property-label"><g:message code="censo.telefono.label" default="Telefono" /></span>--%>
<%--					--%>
<%--						<span class="property-value" aria-labelledby="telefono-label"><g:fieldValue bean="${censoInstance}" field="telefono"/></span>--%>
<%--					--%>
<%--				</li>--%>
<%--				</g:if>--%>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
					<g:hiddenField name="id" value="${censoInstance?.id}" />
					<g:link class="edit" action="edit" id="${censoInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
